<template>
  <div class="contest-submission">
    <submission-list :initial-user-id="userId"
                     :initial-problem-id="problemId"
                     :initial-status="status"
                     :initial-contest-id="contestId"
                     :initial-language="language"
                     :initial-page="page"/>
  </div>
</template>

<script>
import SubmissionList from "@/components/content/submissionlist/SubmissionList";

export default {
  components: {SubmissionList},
  data() {
    return {
      userId: this.$route.query.userId,
      problemId: this.$route.query.problemId,
      status: this.$route.query.status,
      contestId: this.$route.params.contestId,
      language: this.$route.query.language,
      page: this.$route.query.page,
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
